package com.bestcem.xm.qdes.controller.param;

import com.bestcem.xm.common.core.domain.base.UserBaseInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @author guitao.lu
 * @version V1.0
 * @date 2022/8/1
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProjectCreateParam extends UserBaseInfo {
    @ApiModelProperty(value = "目录id")
    @JsonProperty("folder_id")
    private String folderId;

    @NotBlank(message = "title is required")
    @ApiModelProperty(value = "名称")
    private String title;
}